import request from '@/utils/request'

export function getUserInfo () {
  console.log('== = == = getUserInfo')
  return request({
    url: '/api/v1/auth',
    method: 'get'
  })
}
export function getAuthorize (params) {
  return request({
    url: 'api/v1/authorize',
    method: 'get',
    params
  })
}

export function getCallback (params) {
  return request({
    url: 'api/v1/callback',
    method: 'get',
    params
  })
}
